class Config {
    constructor() {}
}

// 项目API路径
Config.baseUrl = 'https://www.hrbmita.com/api/v1/'
// Config.baseUrl = 'https://car.hrbmita.com/api/v1/'
// Config.baseUrl = 'http://www.recar.cn/api/v1/'
// Config.baseUrl = 'http://www.car.cn/api/v1/'

// 腾讯位置服务密钥
Config.lbsKey = 'YDIBZ-HBV3I-L7ZGD-5D64V-XJOCJ-T3FT6'

// 车牌号
Config.carNumber = /^([京津晋冀蒙辽吉黑沪苏浙皖闽赣鲁豫鄂湘粤桂琼渝川贵云藏陕甘青宁新使领]{1}[A-Z]{1}[A-Z0-9]{4}[A-Z0-9挂学警港澳]{1}|[京津晋冀蒙辽吉黑沪苏浙皖闽赣鲁豫鄂湘粤桂琼渝川贵云藏陕甘青宁新使领]{1}[A-Z]{1}[A-Z0-9]{5}[A-Z0-9挂学警港澳]{1})$/

// 身份证号
Config.idCard = /^[1-9]\d{5}(?:18|19|20)\d{2}(?:(?:0[1-9])|(?:1[0-2]))(?:(?:[0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/

// 注册日期
Config.registerDate = /^([0-9]{4})([0-9]{2})([0-9]{2})$/

// 邮箱
Config.email = /^[A-Za-zd0-9]+([-_.][A-Za-zd]+)*@([A-Za-zd]+[-.])+[A-Za-zd]{2,5}$/

// 车辆识别代号后6位
Config.vin = /^([A-Z0-9]{6})$/

// 车辆识别代号
Config.vehicle_identification = /^([A-Z0-9]{17})$/

// 订阅消息 - 模板IDs
Config.tmplIds = {
    subscribeWaitAudit: 't-L5DpqEifNH1bPKU4_qGxZeN9edGdBcMIPHoqYiKMk',
    subscribeSuccess: 'pRSngBMNdn0tfTRqgIXcBSHfqA5Tl5QL1l7LGMsjmFE',
    subscribePaid: 'X7PWD8FrFrXfVxCgnPsb7FfpBuN_eEDTLEseBZMgWHE',
    subscribeCanceled: '0RlAWvhfPlZpj88h3k8WaWwxePTkYhL3N48EstvomQY',
    auditNotice: 'Lq07cS-aKQ28eSmLdFv4xQmVbNmR79_AA1uMF-FCPXs',
    subscribeComplete: '73RR2gUmb3dqipleL1qDJDG-kY67v-Sg1uPT4TpLNHg',
}

export {
    Config
}